<link href="<?php echo SITE_URL;?>css/default/ask.css" rel="stylesheet" type="text/css">
<div class="box">
<div class="box_left_nav font_gray" style="font-size: 12px;">→ <a href="<?=DY_URL?>"><?=$setting['site_name']?></a> &gt; <a>我的分享</a> </div>
    <!--内容 begin-->
    <div class="ps_content">
        <!--左边 begin -->
        <div class="ps_contentl">
            <!--用户信息-->
            <!--左边 begin -->
            <!-- 个人信息 开始-->
            <div class="ps_box1">
                <div class="person_name"><?=$user['username']?> </div>
                <div class="user_info">
                    <div class="person_pic"><img id="headPic" src="<?=$user['avatar']?>" alt="<?=$user['username']?>" title="<?=$user['username']?>"></div>
                    <div class="user_subinfo">
                        <span><?=$user['grouptitle']?></span>
                    </div>
                </div>
                <div class="user_info">
                    <? if(2==$user['grouptype']) { ?>                    <div>
                        <? $credit1percent=round(($user['credit1']/$user['creditshigher'])*100); ?>                        <? $credit1percentleft = 100-$credit1percent-1 ?>                        升级进度<img src="<? echo SITE_URL;?>css/default/jindutiao_yellow.gif" alt="" style="vertical-align: middle;" width="<?=$credit1percent?>" height="7"><img src="<? echo SITE_URL;?>css/default/jindutiao_white-02.gif" alt="" style="vertical-align: middle;" width="<?=$credit1percentleft?>" height="7"><img src="<? echo SITE_URL;?>css/default/jindutiao_end.gif" alt="" style="vertical-align: middle;" width="1" height="7"><span class="font_gray">(<?=$user['credit1']?>/<?=$user['creditshigher']?>)</span>
                    </div>
                    <? } ?>                </div>
            </div>
            <!-- 个人信息 结束-->
            <div class="nav_bar">
                <dl>
                    <dd class="nav_link" id="myscore"><a href="<?=SITE_URL?>?user/score.html">我的RP</a></dd>
                    <dd class="hover" id="myask"><a href="<?=DY_URL?>user/user/myshare">我的分享</a></dd>
                    <dd class="nav_link" id="myprofile"><a href="<?=SITE_URL?>?user/profile.html">个人资料</a></dd>
                    <dd  class="nav_link" id="myask"><a href="<?=SITE_URL?>?user/ask.html">我的提问</a></dd>
                    <dd class="nav_link" id="myanswer"><a href="<?=SITE_URL?>?user/answer.html">我的回答</a></dd>
                    <dd class="nav_link" id="myrecall"><a href="<?=DY_URL?>user/user/myrecall">我的回忆</a></dd>               
                    <dd class="nav_link" id="mymsg"><a href="<?=SITE_URL?>?message/new.html">我的消息</a></dd>
                    <dd class="nav_link" id="myanswer"><a href="<?=SITE_URL?>?user/favorite.html">我的收藏</a></dd>
                </dl>
            </div>
            <!--左边 end -->
            <!--最近留言-->
            <div id="newMessage" class="user_info" ></div>
            <!--最近来访--></div>
        <!--左边 end -->

        <!--右边 begin -->
        <!-- 提问 回答-->
        
        <div class="ps_contentr">
            <div class="column">
                <div class="column_title2">
                    <ul>
                        <li class="tab_hover"><a>全部的分享</a></li>
                    </ul>
                </div>
            </div>
           
            <table cellspacing="0" cellpadding="0" border="0" width="100%">
                <tbody>
                    <tr>
                        <td class="zxy_title" align="left" valign="middle" width="286" height="38">标题（共<? echo $user['uploadNum'];?>条））</td>
                        <td class="zxy_title" align="center" valign="middle" width="115" height="38">分类</td>
                        <td class="zxy_title" align="center" valign="middle" width="118" height="38">分享时间</td>
                    </tr>
                    <tr>
                        <td height="37" align="center" valign="middle" colspan="5">
                            <table cellspacing="0" cellpadding="0" border="0" width="100%">
                                <tbody>
                                    
<? if(is_array($historylist)) { foreach($historylist as $history){?>
                                    <tr>
                                        <td height="38" align="left" width="286" valign="middle" class="zxy_biaoge_txt">
                                            <div class="tiw_blue_kuai">
                                                <span class="tiw_blue"><a title="<? echo $history->title;?>" target="_blank" href="<? echo SITE_URL;?>?q-<? echo $history->fid;?>.html"><? echo $history->title;?></a></span>
                                            </div>
                                        </td>
                                        <td class="zxy_biaoge_txt f14 black" align="center" valign="middle" width="115" height="34"><? echo $history->category;?></td>
                                        <td class="zxy_biaoge_txt f14 black" align="center" valign="middle" width="118" height="34"><? echo $history->upload_time;?></td>
                                    </tr>
                                    
<? }?>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                    <tr class="font_gray">
                        <td height="20" align="right" valign="middle" colspan="5" class="f12"><div id="ask_page" style="padding: 5px 0pt;"><span id="pg_right"> <?php echo $this->pagination->create_links();}?></span></div></td>
                      
                    </tr>
                    <tr>
                        <td height="38" align="left" width="286" valign="middle" class="zxy_biaoge_txt">
                            <div class="tiw_blue_kuai">
                                <span class="tiw_blue"><a title="<?php if($user['uid']!=0 && !is_array($historylist)){echo $hintNoshare;}?>" target="_blank" href="<? echo DY_URL;?>share/upload"><? if($user['uid']!=0 && !is_array($historylist)){echo $hintNoshare;}?></a></span>
                            </div>
                        </td>
                    </tr>
                    
                </tbody>
            </table>
           
        </div>
        <!--内容 end-->
        <div class="clear">
        </div>
    </div>
</div>
